package org.example.DM.Controller;

import org.example.DM.Service.DmService;
import org.example.DM.pojo.pythonDto;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author : zhangbo
 * @data : 2024/9/6
 * @description :
 */
@RestController
@RequestMapping("/Test")
public class DmController {
    @Resource
    private DmService dmService;
    @PostMapping("/get")
    public List<pythonDto> get(){
        return dmService.getResult();
    }
}
